package com.example.demo.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import org.orm.oop.api.Column;
import org.orm.oop.api.Entity;
import org.orm.oop.api.Id;
import org.orm.oop.api.Table;

@Entity
@Table(name = "employee")
@Data
@Accessors(chain = true)
@Schema(description = "测试数据库")
public class Employee {
    @Id
    private String id;

    @Column
    private String firstName;
}
